<?php

$data = array('msg' => null, 'type' => 'version', 'table' => 'versions');

$data['search_fields'] = array(
  'vendor',
  'product',
  'version'
);

$data['list_fields'] = array(
  'product_id'
);

$data['joins'] = array(
    'vendors',
    'products'
);

$data['join_fields'] = array(
    '`vendor_id`=`vendors`.`id`',
    '`product_id`=`products`.`id`'
);

$data['order'] = 'vendor, product, version';

?>
